package org.example.DesignPatterns.Command;

/**
 * @description:
 * @author: farprt
 * @create: 2022-09-24 10:54
 **/
public class Bulb {

    public void on(){
        System.out.println("灯亮");
    }

    public void off(){
        System.out.println("灯灭");
    }
}